import { Meta, ArgsTable, Canvas, Story, Markdown } from '@storybook/addon-docs';
import { Paragraph } from '@zendeskgarden/react-typography';
import { ParagraphStory } from './stories/ParagraphStory';
import { PARAGRAPH_CHILDREN as CHILDREN } from './stories/data';
import README from '../README.md';

<Meta title="Packages/Typography/Paragraph" component={Paragraph} />

# API

<ArgsTable />

# Demo

<Canvas>
  <Story name="Paragraph" args={{ children: CHILDREN }}>
    {args => <ParagraphStory {...args} />}
  </Story>
</Canvas>

<Markdown>{README}</Markdown>
